Skip to content

Conversation

@gohabereg
Copy link
Member

No description provided.

@github-actions
Copy link

github-actions bot commented Apr 8, 2025

⏭️ No files to mutate for ./packages/model

@github-actions
Copy link

github-actions bot commented Apr 8, 2025

⏭️ No files to mutate for ./packages/dom-adapters

@github-actions
Copy link

github-actions bot commented Apr 8, 2025

Coverage report for ./packages/dom-adapters

St.
Category Percentage Covered / Total
🟢 Statements 100% 0/0
🟢 Branches 100% 0/0
🟢 Functions 100% 0/0
🟢 Lines 100% 0/0

Test suite run success

1 tests passing in 1 suite.

Report generated by 🧪jest coverage report action from 8cf8828

@github-actions
Copy link

github-actions bot commented Apr 8, 2025

Coverage report for ./packages/model

St.
Category Percentage Covered / Total
🟢 Statements 96.05% 802/835
🟢 Branches 96% 216/225
🟢 Functions 87.39% 194/222
🟢 Lines 95.91% 773/806

Test suite run success

405 tests passing in 24 suites.

Report generated by 🧪jest coverage report action from 8cf8828

@github-actions
Copy link

github-actions bot commented Apr 8, 2025

Coverage report for ./packages/collaboration-manager

St.
Category Percentage Covered / Total
🟢 Statements
97.97% (-0.03% 🔻)
145/148
🟢 Branches
91.67% (-3.33% 🔻)
55/60
🟢 Functions
94.74% (-5.26% 🔻)
18/19
🟢 Lines
97.95% (-0.05% 🔻)
143/146
Show new covered files 🐣
St.
File Statements Branches Functions Lines
🟢 OperationsBatch.ts 100% 93.75% 85.71% 100%
Show files with reduced coverage 🔻
St.
File Statements Branches Functions Lines
🟢 CollaborationManager.ts
94.55% (-0.8% 🔻)
78.95% (-7.72% 🔻)
100%
94.55% (-0.8% 🔻)

Test suite run success

66 tests passing in 4 suites.

Report generated by 🧪jest coverage report action from 8cf8828

*
* Operations are batched on timeout basis or if batch is terminated from the outside
*/
export class Batch {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe call it BatchedOperation?

this.#undoRedoManager.put(effectiveOp);
}

this.#currentBatch = lastOp === undefined ? null : new Batch(onBatchTimeout, lastOp);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add comments please

@gohabereg gohabereg added this pull request to the merge queue Apr 8, 2025
Merged via the queue into main with commit 2e064d8 Apr 8, 2025
15 checks passed
@gohabereg gohabereg deleted the feature/undo-redo-batching branch April 8, 2025 16:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants